package com.gzhryc.net_marketing.cloud.micro.api.dto.v1;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

public class GoodsPayCheckRequest extends SecurityRequest<GoodsPayCheckRequest.Body> {

    private static final long serialVersionUID = 1L;

    public GoodsPayCheckRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private Long goodsId;
        private Integer goodsNum;
        private Integer buyType;        //1:单独购买，2:团拼
        private String couponId;
        private Double walletMoney = 0d;		//用于组合支付
        private Long virtualMoney = 0L;

        private Long addressId;             //地址ID
        private String logisticsCompanyId;  //物流公司ID

        public Long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(Long goodsId) {
            this.goodsId = goodsId;
        }

        public Integer getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(Integer goodsNum) {
            this.goodsNum = goodsNum;
        }

        public Integer getBuyType() {
            return buyType;
        }

        public void setBuyType(Integer buyType) {
            this.buyType = buyType;
        }

        public String getCouponId() {
            return couponId;
        }

        public void setCouponId(String couponId) {
            this.couponId = couponId;
        }

        public Long getAddressId() {
            return addressId;
        }

        public void setAddressId(Long addressId) {
            this.addressId = addressId;
        }

        public String getLogisticsCompanyId() {
            return logisticsCompanyId;
        }

        public void setLogisticsCompanyId(String logisticsCompanyId) {
            this.logisticsCompanyId = logisticsCompanyId;
        }

        public Double getWalletMoney() {
            return walletMoney;
        }

        public void setWalletMoney(Double walletMoney) {
            this.walletMoney = walletMoney;
        }

		public Long getVirtualMoney() {
			return virtualMoney;
		}

		public void setVirtualMoney(Long virtualMoney) {
			this.virtualMoney = virtualMoney;
		}
    }
}
